package cn.tedu.lucky.draw.server.service.impl;

import cn.tedu.lucky.draw.server.protocol.po.ActivityPrize;
import cn.tedu.lucky.draw.server.repository.ActivityPrizeRepository;
import cn.tedu.lucky.draw.server.service.IActivityPrizeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ActivityPrizeServiceImpl implements IActivityPrizeService {
    @Autowired
    private ActivityPrizeRepository activityPrizeRepository;
    @Override
    public void saveAll(List<ActivityPrize> activityPrizes) {
        activityPrizeRepository.saveAll(activityPrizes);
    }
}
